import * as types from "./mutations_types";

export default {
  // 当前搜索条件
  set_cur_term: ({ commit }, data) => {
    commit(types.SET_CUR_TERM, data);
  },
  // 设置页面header
  set_header_title: ({ commit }, data) => {
    commit(types.SET_HEADER_TITLE, data);
  },
  // 设置首页通知进入详情页的ID
  set_notice_id: ({ commit }, noticeId) => {
    commit(types.SET_NOTICE_ID, noticeId);
  }
};
